package com.gz.moreaseManager.modules.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;



import com.baomidou.mybatisplus.annotations.Version;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 帮助分类表
 * </p>
 *
 * @author wike
 * @since 2019-05-28
 */
@Data
@Accessors(chain = true)
@TableName("help_type")
public class HelpType extends Model<HelpType> {

    private static final long serialVersionUID = 1L;

    /**
     * 帮助ID
     */
    @TableId(value = "help_id", type = IdType.AUTO)
    private Integer helpId;

    /**
     * 分类名称
     */
    @TableField("help_name")
    private String helpName;

    private Integer sort;

    /**
     * 数量
     */
    @TableField("help_sum")
    private Integer helpSum;

    @TableField("create_time")
    private Date createTime;


    @Override
    protected Serializable pkVal() {
        return this.helpId;
    }

}
